package com.wondertek.service.entity.business;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wondertek.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wangyu
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("device_error_record_config")
public class DeviceErrorRecordConfigPo extends BaseEntity {

    @Schema(name = "deviceSn",description = "设备sn码")
    private String deviceSn;

    @Schema(name = "protocolType",description = "协议类型：SIA_DC09\":DC09协议;\"Private\":私有协议")
    private String protocolType;

    @Schema(name = "primaryAddressIp",description = "主选地址ip")
    private String primaryAddressIp;

    @Schema(name = "primaryAddressPort",description = "主选地址端口")
    private Integer primaryAddressPort;

    @Schema(name = "alternativeAddressIp",description = "备用地址ip")
    private String alternativeAddressIp;

    @Schema(name = "alternativeAddressPort",description = "备用地址端口")
    private Integer alternativeAddressPort;

    @Schema(name = "ipProtocol",description = "ip协议(暂无)")
    private String ipProtocol;

    @Schema(name = "heartbeatInterval",description = "检测信号间隔(暂无)")
    private String heartbeatInterval;

    @Schema(name = "account",description = "中央账号")
    private String account;

    @Schema(name = "reportEvents",description = "重传期限，发送失败的消息保留超过此期限则不再重传；默认：0-永久；单位：分钟")
    private Integer reportEvents;

}
